package core;

import index.Index;

import java.io.IOException;

public class JitRm {
    public static void rm(String filename) throws IOException {
        if(Index.inIndexList(filename)){
            Index.deleteIndexRecord(filename);
            System.out.println(filename + " is removed successfully.");
        }else{
            System.out.println(filename + "doesn't exist.");
        }
    }
}

